import { createApp } from 'vue'
import App from './App.vue'
import './registerServiceWorker'
import router from './router'
import store from './store'
import 'normalize.css'
import '@/assets/styles/common.less'
import lib from './components/library'
import directives from '@/directives'
const app = createApp(App)
app.use(lib)
Object.keys(directives).forEach(item => {
  app.directive(item, directives[item])
})
app
  .use(store)
  .use(router)
  .mount('#app')
